I catch up on my writings for GNOME after a couple of months, and I surprisingly realized that I forget some details that are important to make my job fluently. A parallel story: I’ve formatted my lap, so I had to install again everything and reviewed my older post to create an environment for my GNOME writings. This is what I got in brief:
1. Registering RSA
julita@yulys:~$ cd ~/.ssh
julita@yulys:~/.ssh$ ls
known_hosts
so, I had to generate a new one by doing:
julita@yulys:~/.ssh$ ssh-keygen
* Because of the formatting thing I had to send a mail to the adminsys GNOME to validate my new ssh. After that, I followed the steps I did before.
2. Cloning baobab.
Since the application Disk Usage Analyzer is called the baobab project instead of being part of gnome-utils as it was before. I followed the instructions of the git.gnome.org page.
julita@yulys:~$ cd GNOME
julita@yulys:~/GNOME$ git clone ssh://jinca@git.gnome.org/git/baobab
Cloning into baobab...
remote: Counting objects: 2261, done.
remote: Compressing objects: 100% (730/730), done.
remote: Total 2261 (delta 1605), reused 2100 (delta 1483)
Receiving objects: 100% (2261/2261), 5.50 MiB | 101 KiB/s, done.
Resolving deltas: 100% (1605/1605), done.
julita@yulys:~/GNOME$
3. Get myself the right branch:
I guide myself to do this by reading an older post.
julita@yulys:~/GNOME/baobab$ git branch
* master
julita@yulys:~/GNOME/baobab$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
julita@yulys:~/GNOME/baobab$ git checkout -b mallard-documentation remotes/origin/HEAD
Branch mallard-documentation set up to track remote branch master from origin.
Switched to a new branch 'mallard-documentation'
julita@yulys:~/GNOME/baobab$ git branch
* mallard-documentation
master
julita@yulys:~/GNOME/baobab$ git pull
Already up-to-date.
4. Deleting the older writings
julita@yulys:~/GNOME/baobab$ ls
AUTHORS ChangeLog COPYING.docs help pixmaps src
autogen.sh configure.ac data Makefile.am po TODO
baobab.doap COPYING git.mk NEWS README
julita@yulys:~/GNOME/baobab$ cd help/C
julita@yulys:~/GNOME/baobab/help/C$ ls
baobab.xml figures legal.xml
julita@yulys:~/GNOME/baobab/help/C$ git rm -rf *.*
rm 'help/C/baobab.xml'
rm 'help/C/legal.xml'
julita@yulys:~/GNOME/baobab/help/C$ ls
figures
julita@yulys:~/GNOME/baobab/help/C$ git rm -rf *
rm 'help/C/figures/baobab_fullscan.png'
rm 'help/C/figures/baobab_prefs.png'
rm 'help/C/figures/baobab_remote.png'
rm 'help/C/figures/baobab_ringschart1.png'
rm 'help/C/figures/baobab_ringschart2.png'
rm 'help/C/figures/baobab_treemaps.png'
rm 'help/C/figures/baobab_window.png'
julita@yulys:~/GNOME/baobab/help/C$
5. Commit and git push, finally
julita@yulys:~/GNOME/baobab$ git commit -a[mallard-documentation 5d318e9] I pushed my whole old branch to start a new one. Committer: Julita Inca <julita@yulys.(none)>Your name and email address were configured automatically basedon your username and hostname. Please check that they are accurate.You can suppress this message by setting them explicitly:
git config --global user.name "Your Name" git config --global user.email you@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
9 files changed, 0 insertions(+), 519 deletions(-) delete mode 100644 help/C/baobab.xml delete mode 100644 help/C/figures/baobab_fullscan.png delete mode 100644 help/C/figures/baobab_prefs.png delete mode 100644 help/C/figures/baobab_remote.png delete mode 100644 help/C/figures/baobab_ringschart1.png delete mode 100644 help/C/figures/baobab_ringschart2.png delete mode 100644 help/C/figures/baobab_treemaps.png delete mode 100644 help/C/figures/baobab_window.png delete mode 100644 help/C/legal.xml
julita@yulys:~/GNOME/baobab$ git push origin mallard-documentationCounting objects: 5, done.Delta compression using up to 4 threads.Compressing objects: 100% (3/3), done.Writing objects: 100% (3/3), 315 bytes, done.Total 3 (delta 2), reused 0 (delta 0)remote: ---remote: The commits you are trying to push contain the author emailremote: address 'julita@yulys.(none)'. Please configure yourremote: username and email address. See:remote: remote: http://live.gnome.org/Git/Help/AuthorEmailremote: remote: For instructions about how to do this and how to fix yourremote: existing commits.remote: ---To ssh://jinca@git.gnome.org/git/baobab ! [remote rejected] mallard-documentation -> mallard-documentation (pre-receive hook declined)error: failed to push some refs to 'ssh://jinca@git.gnome.org/git/baobab'
* Ok, here we got an error (which I like because I can show how GNOME guys helped me trough IRC). The solution was online here.
Finally!… the most important line of this post:
http://git.gnome.org/browse/baobab/log/?h=mallard-documentation