New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
user/techene/githint (diff) – NEMO

Changes between Version 9 and Version 10 of user/techene/githint


Ignore:
Timestamp:
2022-01-10T18:30:57+01:00 (2 years ago)
Author:
techene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • user/techene/githint

    v9 v10  
    1818 
    1919== Useful commands ==  
    20 git-checkout 
    21 {{{ 
    22 git checkout MY_BRANCH - Switch branches or  
    23 git checkout old_commited_files.F90 restore working tree files 
    24 https://git-scm.com/docs/git-checkout 
    25 }}} 
    2620 
    2721git-restore 
     
    3731Deleted branch debug_rk3 (was 63a26b2). 
    3832git checkout -b debug_rk3 63a26b2 - Retrieve the branch deleted 
     33}}} 
     34 
     35git-reset 
     36{{{ 
     37git reset #sha - come back to former state of the branch useful when you want to cancel a commit 
     38}}} 
     39 
     40git-checkout ??? 
     41{{{ 
     42git checkout MY_BRANCH - Switch branches [deprecated] 
     43git checkout old_commited_files.F90 restore working tree file [deprecated] 
     44https://git-scm.com/docs/git-checkout 
    3945}}} 
    4046== Process ==