Horje
github quick reference Code Example
github quick reference
# Clone a repository to the current directory
git clone [REPOSITORY_CLONE_URL]

# Create a new commit with a message
git commit -m "Your commit message"

# Add files to the commit
git add .
git add ./filename.ext

# Push your commits to Github
git push origin master
git push origin [YOUR_BRANCH_NAME]

# Reset your repo to the last version
git reset --hard

# Create a new branch
git checkout -b [YOUR_BRANCH_NAME]

# Switch branches
git checkout [YOUR_BRANCH_NAME]
git checkout master

# Reset a single file
git checkout ./filename.ext
Source: dev.to




Shell

Related
RequestsDependencyWarning chardet Code Example RequestsDependencyWarning chardet Code Example
7.14 ES on linux installation Code Example 7.14 ES on linux installation Code Example
command line filters Code Example command line filters Code Example
rhel 8 docker 19.03 Code Example rhel 8 docker 19.03 Code Example
powerrshell adobject get all deleted Code Example powerrshell adobject get all deleted Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14