Foss lect 8 1 11.txt: Difference between revisions

mNo edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 42: Line 42:
In git you cannot recover an older version unless it is branched out. If the reversion is done  
In git you cannot recover an older version unless it is branched out. If the reversion is done  
on the trunk, the new stuff is lost. No version numbers in git.
on the trunk, the new stuff is lost. No version numbers in git.
For practicing the remote git repository go to [https://github.com/ git hub] you can create and play with the remote git repository.
You have to create the account there. You can go through the help documents on that site also for any problem.


Upstream/downstream concept: A developer who fixes a bug in a software obtained from the community
Upstream/downstream concept: A developer who fixes a bug in a software obtained from the community
Line 80: Line 83:


----
----
'''Commands to be used for Git'''
git commit -a: where a indicates all
git log
git init
git add
git diff
git branch
git checkout branch
git whatchanged
eg: git whatchanged since="may 2010"
git status:  Shows the log messages
git clone


~~Homework for the week~~
~~Homework for the week~~