Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tankhuu/6e6c9441d13369c266fb22a289e933e2 to your computer and use it in GitHub Desktop.
Save tankhuu/6e6c9441d13369c266fb22a289e933e2 to your computer and use it in GitHub Desktop.
# Clone new Project
mkdir -p project_folder
cd project_folder
git init
git clone https://user@passwordInUrlEncode@codeCommitGitHttpsURL
git fetch
# Edit current project
cd project_folder
git remote remove origin
git remote add origin https://user@passwordInUrlEncode@codeCommitGitHttpsURL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment