Changes between Version 2 and Version 3 of GitSurvival
- Timestamp:
- Feb 7, 2018, 2:44:55 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GitSurvival
v2 v3 1 '''Normal editing''' 2 3 {{{ 4 $ git clone ssh://git@gitlab.cern.ch:7999/atlas-hllhc-muon-mdt-trigger-doc/Proto0_Blade.git 5 $ cd Proto0_Blade 6 $ (edit files) 7 $ git commit -a # commit changes (not new files) to local 8 $ git push --all # push changes back to master on remote 9 }}} 10 1 11 2 12 '''To check out a specific revision''', figure out the SHA1 code (long hex string), then: … … 5 15 $ git reset --hard <SHA1> 6 16 }}} 17