Downloading ParSim
User version
- Create a clone of the ParSim repository
git clone https://github.com/bbanerjee/ParSim- Check status
git status
git diff origin/master- Just in case the master has changed, update your copy
git pullDeveloper version (for Ubuntu)
If you are a developer, we will suggest the following longer version.
- Create a
GitHubaccount
https://github.com/signup/free- Install
giton your machine
sudo apt-get install git-core- Setup git configuration
git config --global user.email "your_email@your_address.com"
git config --global user.name "your_github_username"- Email your
githubusername to Biswajit @ gmail.com
b.banerjee.nz- Create a clone of the ParSim repository
git clone https://github.com/bbanerjee/ParSim- Check branches/master
git branch -a- Configure
sshfor secure access (if needed)
cd ~/.ssh
mkdir backup
cp * backup/
rm id_rsa*
ssh-keygen -t rsa -C "your_email@your_address.com"
sudo apt-get install xclip
cd ~/ParSim/
xclip -sel clip < ~/.ssh/id_rsa.pub
ssh -T git@github.com
ssh-add
ssh -T git@github.com- For password-less access with
ssh, use
git remote set-url origin git@github.com:bbanerjee/ParSim.git- To change the default message editor, do
git config --global core.editor "vim"Getting the latest version, adding files etc.
- Check status
git status
git diff origin/master- Update local repository
git pull- Add file to your local repository
git add README
git commit -m 'Added README file for git'- Update main repository with your changes
git push origin master