git commands

Registering to git permission


(First time only in every new server)

ssh-keygen -t rsa

cat .ssh/id_rsa.pub

git config --global user.name xxxxx

git config --global user.email xxxxx@gmail.com

git config --global merget.tool kdiff3

ssh -p 29427 10.10.10.10 --> Only for testing

Prepare local repository


mkdir local_repo

cd local_repo

repo init -u ssh://xxxxx@10.10.10.1029427/manifest.git -b repository_name

repo sync ,url> [--no-tags] [-qcj4]

Create a branch


git checkout -b temp_branch remote_branch_path

No comments:

Post a Comment