Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ivanclay/git_github_devops_pro


https://github.com/ivanclay/git_github_devops_pro

Last synced: 25 days ago
JSON representation

Awesome Lists containing this project

README

        

# Devops Pro [Git|Github]

## Configuring
- git init
- git config --global user.name `your name/user`
- git config --global user.email `you email`

## Checking Configuration
- git config --list

## CLI Create new branch
- git checkout -b `some_branch_name`

## CLI Verify branch list
- git branch

## CLI change work branch
- git checkout `your_work_branch`

## CLI Checking changed files
- git status

## CLI add to stage
- git add `.`

## CLI Show commit History
- git log

## CLI last commit Add TAG
- git tag -a `YOUR_TAG` -m `YOUR_MESSAGE`

## CLI some commit Add TAG
- git tag -a `YOUR_TAG` -m `YOUR_MESSAGE` `COMMIT HASH`

## CLI remove TAG
- git tag -d `YOUR_TAG`

## CLI merge
-

## CLI rebase
-

## CLI cherry pick
-

## CLI send to remote repo
- git push -u origin `YOUR_BRANCH`

## CLI send new local branch to remote repo
- git push --set-upstream origin `YOUR_NEW_LOCAL_BRANCH`

## CLI tracking commits
- git log

## CLI tracking commits on file
- git log `YOUR_ESPECIFIC_FILE`

## CLI briefly tracking commits
- git log `--oneline`