You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Be aware of the wiki in the “Virtual Lab” project (https://vlab.ncep.noaa.gov/redmine/projects/vlab/wiki). It contains lots of good guidance, including sections devoted to:
* Helping Project Owners
* Repository Management (gerrit, git, and SVN)
* Redmine usage
* and even tips for how to use Eclipse IDE
Some basic repo interactions are listed below. Note that anything preceded by a “$” represents a variable.
*** Both gerrit and git ***
local commit:
git add $FILE_NAME
git commit -a (for all) OR
git commit $FILE_NAME(S)
squash:
git rebase -i $BRANCH_NAME~<# of commits to include>
ex: git rebase -i My_Branch~5
change branch:
git checkout $BRANCH_NAME
create new branch (based upon current checked out branch):