https://github.com/ivanclay/git_github_devops_pro
https://github.com/ivanclay/git_github_devops_pro
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ivanclay/git_github_devops_pro
- Owner: ivanclay
- Created: 2024-04-17T10:24:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-28T12:23:47.000Z (almost 2 years ago)
- Last Synced: 2025-10-09T16:49:20.918Z (10 months ago)
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`