Skip to main content

git

Git Management

Submitted by system on
Associating your local repo to a repo in third party Git repository, say Bitbucket. Step 1: Switch to your repository's directory cd /path/to/your/repo
Step 2: Connect your existing repository to Bitbucket git remote add origin git@bitbucket.org:username/your-repo-name.git
// ... Series of commits...
git push -u origin master

List your existing remotes in order to get the name of the remote you want to change. git remote -v

Using Git

Submitted by amitsedai on
Version control of code files is important. Also important is to ensure that it is accessible throughout and also to the community from which we gain. I tried creating an account in GitHub, create and fork a repository and add files via commandline using git in Github. Setting Up Git: https://help.github.com/articles/set-up-git
Forking a Repo: https://help.github.com/articles/fork-a-repo
Creating adding and Commiting: http://media.pragprog.com/titles/tsgit/chap-005-extract.html
Help Docs: https://help.github.com/