[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: forking, syncing fork to upstream. - commiting changes and opening merge requests.

Hi all,
Some more basic commands.

First make changes to the file.

~/games/shirishag75s-2014-mirror/website$ leafpad Speakers.html$
leafpad Speakers.html

Now staging the file in git for modification

$ git add Speakers.html

Have a look see as to where you are :-

$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

	modified:   Speakers.html

Commiting it locally :-

$ git commit -m "Typo Fix"
[master f3859bc] Typo Fix
 1 file changed, 1 insertion(+), 1 deletion(-)

And finally pushing it to master :-

$ git push origin master
Counting objects: 4, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 341 bytes | 0 bytes/s, done.
Total 4 (delta 2), reused 0 (delta 0)
remote: => Syncing Gitorious... [OK]
To git@gitorious.org:minidebconfindia/shirishag75s-2014-mirror.git
   bfda600..f3859bc  master -> master

After doing that go to your mirror and click on Request merge
Add Summary and description and Click on Create Merge Request.

I am sharing notes so that everybody from the team can use this to
commit changes to the repo.

Just fork the repo and using the mini-guide above you should be able
to commit back to the upstream repo. as well.

Till l8er.
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8

Reply to: