-
Notifications
You must be signed in to change notification settings - Fork 0
git help
ssh-keygen -t rsa -b 4096 -C "karthigeyan.illancheran@nokia.com"
ssh-add -K ~/.ssh/id_rsa
git fetch upstream
git checkout master
git reset --hard upstream/master
git push origin master --force
git submodule deinit -f -- Libraries/NUKit/
rm -rf .git/modules/Libraries/NUKit/
git rm -f Libraries/NUKit/
git submodule add git://github.com/killanch/nukit.git Libraries/NUKit
Remote: git push origin --delete vspk-update-6
Local: git branch -D vspk-update-6
git submodule init
git submodule update
cd Libraries/NUKit/
git fetch
git merge origin/master
git submodule update --init --recursive
git clean -n
git clean -f
git checkout -b SecPolicySearchBetfair release-4.0.10
git diff --name-only --diff-filter=U
git reset --hard
git reset HEAD~1
git clone -b feat-vnf --recursive git@github.mv.usa.alcatel.com:mlamacch/vsd-architect.git
git remote add fork git@github.mv.usa.alcatel.com:ikarthik/vsd-architect.git
git remote -v
git fetch fork
git merge fork/EgressFwdingPolicy
git checkout --theirs Resources/ForwardingSecurityPolicyEntryTemplates.xib
git clone --recursive -b r4.0 git@github.mv.usa.alcatel.com:CNA/CNA-Server.git
git log => to identify the commit id
git checkout r4.0
git checkout -b VSD-XXX
git cherry-pick 75af506986bdf39753b8d08aff5d16ad188c5717 -m 1
git cherry-pick 75af506986bdf39753b8d08aff5d16ad188c5717
git push origin VSD-XXX
git fetch origin
git reset --hard origin/PROD-4743
git checkout -b testRevert 99af8b42448f9d103962e49d825d5f67d462a722
git branch -M VSD-19901 VSD-19901-temp
git branch -M VSD-19901
git push -u origin VSD-19901 --force
git diff --name-status master..vsdmed2 -> difference between master and vsdmed2 branch
git remote add upstream git@github.mv.usa.alcatel.com:CNA/CNA-Server.git
git remote add upstream https://github.com/nuagenetworks/vsd-react-ui.git
git checkout master -> switch to master branch context
git pull upstream master -> pulls latest changes from repos master to fork master
git push origin -> push latest updates to remote fork master
git checkout VSD-9056 -> switch to PTS branch
git merge master -> from fork master to PTS branch
git push origin -> local PTS branch to remote PTS branch
git clone --recursive git@github.mv.usa.alcatel.com:Architect/vsd-react-ui.git