GNU Project - Git

286 views
193 views

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
286
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

GNU Project - Git

  1. 1. GNU Project - Git Avneet Kaur DD: http://avneetkhasla.wordpress.com/
  2. 2. Git 1.Register ssh keys. 2.Push the code.
  3. 3. How to register keys ? Create a key → $ ssh -keygen Copy the key → $ vim .ssh/id_rsa.pub Paste it under key1 field at [1]. [1]: https://savannah.gnu.org/my/admin/editsshkeys.php
  4. 4. Push Code Create a directory for repo → $ mkdir branch_repo Run commands → $ cd branch_repo/ $ git init $ git remote add origin username@git.sv.gnu.org:/srv/git/project_name.git $ git checkout -b branch_name $ git add . $ git commit -m "commit message" $ git push -u origin branch_name
  5. 5. Thank You!

×