Open main menu

Changes

Git svn

1,274 bytes added, 10:36, 23 July 2013
Now add this as a private remote, by setting the remote name '''hub'''.
# Windows set relax_trunk="C:\WinPython27\relax\relax_trunk" set GIT_USER_NAME="GIT_USER_NAME" md %relax_trunk% cd %relax_trunk% # Linux bash ; relax_trunk=$HOME\relax\relax_trunk GIT_USER_NAME="GIT_USER_NAME" mkdir -p ${relax_trunk} cd $relax_trunk 
git init
# Windows git remote add origin https://%GIT_USER_NAME%@github.com/nmr-relax/relax_trunk.git git remote add hub https://%GIT_USER_NAME%@github.com/%GIT_USER_NAME%/relax_trunk.git # Linux git remote add origin https://${GIT_USER_NAME}@github.com/nmr-relax/relax_trunk.git git remote add hub https://${GIT_USER_NAME}@github.com/${GIT_USER_NAME}/relax_trunk.git  
git fetch origin
git checkout --track origin/master
git fetch hub
Now we add the user scripts repo
# Windows git clone https://%GIT_USER_NAME%@github.com/nmr-relax/relax_scripts.git # Linux git clone https://${GIT_USER_NAME}@github.com/nmr-relax/relax_scripts.git 
Go to https://github.com/nmr-relax/relax_scripts <br>
Click '''Fork'''.
cd relax_scripts
# Windows git remote add hub https://%GIT_USER_NAME%@github.com/%GIT_USER_NAME%/relax_scripts.git # Linux git remote add hub https://${GIT_USER_NAME}@github.com/${GIT_USER_NAME}/relax_scripts.git
== The relax_disp ==
Now add this as a private remote, by setting the remote name '''hub'''.
# Windows set relax_disp="C:\WinPython27\relax\relax_disp" set GIT_USER_NAME="GIT_USER_NAME" md %relax_disp% cd %relax_disp% # Linux bash ; relax_disp=$HOME\relax\relax_disp GIT_USER_NAME="GIT_USER_NAME" mkdir -p ${relax_disp} cd $relax_disp 
git init
# Windows git remote add origin https://%GIT_USER_NAME%@github.com/nmr-relax/relax_disp.git git remote add hub https://%GIT_USER_NAME%@github.com/%GIT_USER_NAME%/relax_disp.git # Linux git remote add origin https://${GIT_USER_NAME}@github.com/nmr-relax/relax_disp.git git remote add hub https://${GIT_USER_NAME}@github.com/${GIT_USER_NAME}/relax_disp.git  
git fetch origin
git checkout --track origin/master
git fetch hub
Now we add the user scripts repo
# Windows git submodule add clone https://%GIT_USER_NAME%@github.com/nmr-relax/relax_scripts.git # Linux git clone https://${GIT_USER_NAME}@github.com/nmr-relax/relax_scripts.git 
Go to https://github.com/nmr-relax/relax_scripts <br>
Click '''Fork'''.
cd relax_scripts
# Windows git remote add hub https://%GIT_USER_NAME%@github.com/%GIT_USER_NAME%/relax_scripts.git # Linux git remote add hub https://${GIT_USER_NAME}@github.com/${GIT_USER_NAME}/relax_scripts.git
= Get future updates =