#1 Learn-by-Doing Multicloud Training Platform
#1 Learn-by-Doing Multicloud Training Platform
Remote Repositories Initializes a local repo in preparation for Shows changes between the pending commit and the latest
connecting it to a CodeCommit repository commit in the local repo
Can be used to set up a connection between a local repo and a remote repository: Adds specific files to the pending commit in the local repo
git remote add remote-nameremote-url git add [file-name-1 file-name-2 file-name-N| file-pattern]
Creates a local repo by making a copy of a CodeCommit repository at the Adds all new, modified, and deleted files to the
specified URL, in the specified subfolder of the current folder on the local machine pending commit in the local repo
It begins finalizing the pending commit in the local repo, which displays
Shows the nickname the local repo uses for
an editor to provide a commit message. The pending commit
the CodeCommit repository
finalizes after the message is entered
Shows the nickname and the URL the local repo uses for
Lists recent commits in the local repo
fetches and pushes to the CodeCommit repository
BranchesLists all branches in the local repo with an asterisk (*) Merges changes from another branch in the local
displayed next to your current branch repo to the current branch in the local repo
Pulls information about all existing branches in the Deletes a branch in the local repo (unless it
CodeCommit repository to the local repo contains un-merged work)
Lists all branches in the local repo and remote Deletes a branch in the CodeCommit repository using the specified nickname the
tracking branches in the local repo local repo has for the CodeCommit repository and the specified branch name
Creates a new branch in the local repo using the specified branch name Pulls all tags from the CodeCommit repository to the local repo
Switches to another branch in the local repo using the specified branch name Shows information about a specific tag in the local repo
Pushes a specific tag from the local repo to the CodeCommit repository
Creates a new branch in the local repo using the specified using the specified nickname the local repo has for the CodeCommit
branch name, and then switches to it repository and the specified tag name
Learn more about version control with Git here
Creates a new branch in the local repo using the specified branch name. And then connects the new branch in the local repo to an existing branch in the CodeCommit
repository, using the specified nickname the local repo has for the CodeCommit repository and the specified branch name
To Summarize
This deep dive into CodeCommit acts as a cheat sheet for you to use. But there is still a lot of ground to cover
in AWS Developer Tools, so check out this AWS DevOps Professional Certification course for more on the
Developer Tools suite.