Show Menu
Cheatography

Git FOR Bitpocket Cheat Sheet by

This Cheet Sheet have sample syntax for started web progect with bitpocket

CREATE ".gi­t" DIRECTORY

git init

CONNECT THIS DIRECTORY AND THAT REPOSITORY

cd THIS DIRECTORY
git remote add origin git@bitbucket.org:TEAM_NAME/THAT_REPO_NAME.git

ADD ALL CHANGE

git add -A

PUSH COMMIT ON THAT REPOSITORY

cd THIS_DIRECTORY_THAT_HAVE_.GIT
git push -u origin master

ADD .gitignore FOR MY CMS

shearch my cms and copy syntax
cd TO_ROO­T_O­F_T­HE_­GIT­_DI­RECTIRY
nano .gitignore
past of syntax & save file
 

CREATE "­REA­DME.md­" FILE

nano README.md

GET CLONE ON THIS DIRECTORY FROM THAT REPOSITORY

git clone -v --progress git@bitbucket.org:TEAM_NAME/THAT_REPO_NAME.git /THIS_DIRECTORY_ADDRESS

COMMIT ALL CHANGE WITH A COOMAND

git commit -m "TYPE_YOUR_COMMAND"

CREATE PRIVATE KEY ON MY SYSTEM

CREATE
ssh-keygen -t rsa
SHOW CONTANT ON MY PRIVATE KEY
cat ~/.ssh­/id­_rs­a.pub
                           
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Bash Dev Cheat Sheet
          OSX Setup Web Server PHP MySQL Cheat Sheet
          Shell utilities & sytem management Cheat Sheet