Snippets Collections
# Delete the logs of first 1000 actions related to a workflow from the server

WORKFLOW="My workflow name"
OWNER="owner"
REPOSITORY="repo"

gh run list --repo "$OWNER/$REPOSITORY" -w "$WORKFLOW" --limit 1000 --json databaseId \
| jq '.[].databaseId' \
| xargs -I{} gh api -X DELETE /repos/$OWNER/$REPOSITORY/actions/runs/{}/logs
> eval `ssh-agent`
> ssh-add /c/Users/roberto/.ssh/gitlab
pip install fpdf2
https://pypi.org/project/fpdf2/
Error: Similar to -> You can only commit if your email is one of the verified emails

In your terminal, navigate to the repo you want to make the changes in.
Execute git config --list to check current username & email in your local repo.

Check the username -> git config [--global] user.name
Check the email -> git config [--global] user.email

Change username & email as desired. Make it a global change or specific to the local repo:
git config [--global] user.name "Full Name"
git config [--global] user.email "email@address.com"
git config [--global] user.password "your password"

Per repo basis you could also edit .git/config manually instead.
Done!

Then execute ->
git commit --amend --reset-author --no-edit
# Delete all local branches except master
git branch | grep -v "master" | xargs git branch -D
git config pull.rebase true
$ git push -u origin feature


# Before pushing, make sure to pull the changes from the remote branch and integrate them with your current local branch.

$ git pull

$ git checkout my-feature

$ git merge origin/feature

$ git push origin my-feature:feature
:: "C:\_git\gitpm.cmd" "[PROJECTNAME]" "[REPONAME]"


echo off

set TeamProject=%~1
set GitRepo=%~2

set TeamCollection="https://dev.azure.com/[ORG]/"

if "%TeamProject%"=="" GOTO validation_error
if "%GitRepo%"=="" GOTO validation_error

REM First, block the Create Branch permission at the repository root for the project's contributors.
tf git permission /deny:CreateBranch /group:"[%TeamProject%]\Contributors" /collection:%TeamCollection% /teamproject:"%TeamProject%" /repository:%GitRepo%

REM Then, allow contributors to create branches under features, hotfixes, and users.
tf git permission /allow:CreateBranch /group:"[%TeamProject%]\Contributors" /collection:%TeamCollection% /teamproject:"%TeamProject%" /repository:%GitRepo% /branch:features
tf git permission /allow:CreateBranch /group:"[%TeamProject%]\Contributors" /collection:%TeamCollection% /teamproject:"%TeamProject%" /repository:%GitRepo% /branch:users
tf git permission /allow:CreateBranch /group:"[%TeamProject%]\Contributors" /collection:%TeamCollection% /teamproject:"%TeamProject%" /repository:%GitRepo% /branch:hotfixes
tf git permission /allow:CreateBranch /group:"[%TeamProject%]\Contributors" /collection:%TeamCollection% /teamproject:"%TeamProject%" /repository:%GitRepo% /branch:releases
tf git permission /allow:CreateBranch /group:"[%TeamProject%]\Contributors" /collection:%TeamCollection% /teamproject:"%TeamProject%" /repository:%GitRepo% /branch:save
tf git permission /allow:CreateBranch /group:"[%TeamProject%]\Contributors" /collection:%TeamCollection% /teamproject:"%TeamProject%" /repository:%GitRepo% /branch:archive
tf git permission /allow:CreateBranch /group:"[%TeamProject%]\Contributors" /collection:%TeamCollection% /teamproject:"%TeamProject%" /repository:%GitRepo% /branch:hold
tf git permission /allow:CreateBranch /group:"[%TeamProject%]\Contributors" /collection:%TeamCollection% /teamproject:"%TeamProject%" /repository:%GitRepo% /branch:misc

REM allow administrators to create a branch called development (in case it ever gets deleted accidentally).
tf git permission /allow:CreateBranch /group:"[%TeamProject%]\Project Administrators" /collection:%TeamCollection% /teamproject:"%TeamProject%" /repository:%GitRepo% /branch:development

REM Finally, allow administrators to create a branch called master (in case it ever gets deleted accidentally).
tf git permission /allow:CreateBranch /group:"[%TeamProject%]\Project Administrators" /collection:%TeamCollection% /teamproject:"%TeamProject%" /repository:%GitRepo% /branch:master
GOTO complete

:validation_error
ECHO Both the TeamProject and GitRepo arguments must be valid
ECHO TeamProject = '%TeamProject%'
ECHO GitRepo= '%GitRepo%'
GOTO EOF

:complete
ECHO All done!

:EOF
# Gradle
# ------
.gradle
/build
/*/build
/*/*/build
/*/*/*/build
/*/*/*/*/build
/*/docs/src/samples/**/build
/*/docs/src/snippets/**/build
/*/internal-android-performance-testing/build-android-libs
test-splits/
gradle-app.setting

# Maven
# ----
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
.mvn/wrapper/maven-wrapper.jar

# Cache of project
.gradletasknamecache

# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties

# End of https://www.gitignore.io/api/java,gradle

# IDEA
# ----
!/.idea
/.idea/*
!/.idea/codeStyles
!/.idea/inspectionProfiles
!/.idea/icon.png
!/.idea/icon_dark.png
*/**/.idea
*/**/.shelf
.shelf
/*.iml
/*/*.iml
/*/*/*.iml
/*/*/*/*.iml
/*/*/*/*/*.iml
/out
/*/out
/*/*/out
/*/*/*/out
/*/*/*/*/out
/.teamcity/target
/gradle.ipr
/gradle.iws
/.idea/
*.iml

# Eclipse
# -------
*.classpath
*.project
*.settings
/bin
/subprojects/*/bin
atlassian-ide-plugin.xml
.metadata/
*.pydevproject
.project
.metadata
bin/**
tmp/**
tmp/**/*
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath
*.launch

# Locally stored "Vscode configurations"
/.vscode/

# NetBeans
# --------
.nb-gradle
.nb-gradle-properties

# Vim
# ---
*.sw[nop]

# Emacs
# -----
*~
\#*\#
.\#*

# Textmate
# --------
.textmate

# Sublime Text
# ------------
*.sublime-*

# jEnv
# ----
.java-version

# macOS
# ----
.DS_Store

# HPROF
# -----
*.hprof

# Work dirs
# ---------
/incoming-distributions
/intTestHomeDir

# Logs
# ----
/*.log

# Thread dumps for troubleshooting
*.threaddump


# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

# External tool builders
.externalToolBuilders/

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
# Project exclude paths
/target/
# Delete remote branch
git push origin -d remote_branch_name

# Delete local branch
git branch -d local_branch_name

# Force delete if getting merge error
git branch -D local_branch_name
git remote add upstream git@github.com:NBN23dev/fans-app.git
git remote -v
git rebase -i $(git rev-list --max-parents=0 HEAD) HEAD
https://www.educative.io/module/page/LgoqGKFl7YxO2wNDm/10370001/4636226247720960/6644742739197952
git log --graph --oneline --all --decorate --simplify-by-decoration
git log --all --oneline --decorate --graph
git init

git add -A

git commit -m 'Added my project'

git remote add origin git@github.com:sammy/my-new-project.git

git push -u -f origin main
git add . && git commit -m '%date' && git pus
# Rename the local branch to the new name
git branch -m <old_name> <new_name>

# Delete the old branch on remote - where <remote> is, for example, origin
git push <remote> --delete <old_name>

# Or shorter way to delete remote branch [:]
git push <remote> :<old_name>

# Prevent git from using the old name when pushing in the next step.
# Otherwise, git will use the old upstream name instead of <new_name>.
git branch --unset-upstream <new_name>

# Push the new branch to remote
git push <remote> <new_name>

# Reset the upstream branch for the new_name local branch
git push <remote> -u <new_name>
# you need to be on the working branch
git checkout _branch_name
git add .
git commt -m "my branch commit"

# pull and merge
git pull

# push commit
git push
git remote add origin ssh://git@git.domain.tld/repository.git 

git remote -v
occ -c widget/element

configs

edit configs file

occ -p /relative-path
git commit --amend --author "Author Name <email@address.com>" --no-edit
 git config --global alias.ci "commit"
 git config --global alias.st "status"
 git config --global alias.co "checkout"
git config –global user.name “[name]”  
git config –global user.email “[email address]”  
git init [repository name]
git clone [url] 
git add [file] 
git add *  
git commit -m “[ Type in the commit message]” 
git commit -a  
git rm [file]
git branch
git branch [branch name]
git checkout [branch name]
git checkout -b [branch name]
git merge [branch name]  
git remote add [variable name] [Remote Server Link]  
git push [variable name] master  
git pull [Repository Link]  

git rm -rf .git
git config --global alias.glg 'log --oneline --decorate --all --graph'
git config --global alias.amend 'commit --amend --reuse-message=HEAD'
git add -p
git commit 
git add -p
git amend 

git config --global alias.changelog "log origin..HEAD --format='* %s%n%w(,4,4)%+b'"
git config --global alias.workon '!f(){ git fetch && git checkout -b "$1" $(git symbolic-ref refs/remotes/origin/HEAD | sed "s@^refs/remotes/@@"); };f'
git config --global alias.cleanup-merged "!f(){ git fetch && git branch --merged | grep -v '* ' | xargs git branch --delete; };f"


- name: setup git aliases
  community.general.git_config:
    scope: global
    state: present
    name: "alias.{{ item.alias }}"
    value: "{{ item.value }}"
  with_items:
    - alias: changelog
      value: log origin..HEAD --format='* %s%n%w(,4,4)%+b'
    - alias: glg
      value: log --oneline --decorate --all --graph
    - alias: amend
      value: commit --amend --reuse-message=HEAD
    - alias: workon
      value: '!f(){ git fetch && git checkout -b "$1" $(git symbolic-ref refs/remotes/origin/HEAD | sed "s@^refs/remotes/@@"); };f'
    - alias: refresh
      value: '!f(){ git fetch && git stash && git rebase $(git symbolic-ref refs/remotes/origin/HEAD | sed "s@^refs/remotes/@@") && git stash pop; };f'
    - alias: cleanup-merged
      value: "!f(){ git fetch && git branch --merged | grep -v '* ' | xargs git branch --delete; };f"
82FCD54A-74bf-2CE93-41d6-A4389de1bd2
# Zsh
1. zsh: https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH
2. Oh My Zsh: https://github.com/ohmyzsh/ohmyzsh
3. Powerlevel10k: https://github.com/romkatv/powerlevel10k

	// Don't forget to set the theme and install the fonts
	https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf
	https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf
	https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf
	https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf

	// Execute this to configure the theme
	p10k configure

# Plugins:
// One Dark colour theme
  https://github.com/one-dark/iterm-one-dark-theme

// Look at history of previous commands used:-
  https://github.com/junegunn/fzf

// Command line auto suggestions:-
  https://github.com/zsh-users/zsh-autosuggestions
  
// Quick switch to directories
  https://github.com/agkozak/zsh-z
  
// Found these on this blog post https://udaraw.com/iterm-plugins
#!/bin/bash

wget https://release.gitkraken.com/linux/gitkraken-amd64.deb
sudo dpkg -i ./gitkraken-amd64.deb
sudo apt-get install -f
gitkraken
# configuration file for git-cliff

[changelog]
header = """
# Changelog
*All notable changes to this project will be documented in this file.*\n
"""
body = """
{% if version %}\
    ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
    ## [Unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
    ### {{ group | upper_first }}
    {% for commit in commits %}
        - {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}\
    {% endfor %}
{% endfor %}\n
"""
trim = true
footer = """
***
*Changelog generated by [git-cliff](https://github.com/orhun/git-cliff).*
"""
[git]
conventional_commits = true
filter_unconventional = true
commit_parsers = [
    { message = "^feat", group = "Features"},
    { message = "^fix", group = "Bug Fixes"},
    { message = "^bug", group = "Bug Fixes"},
    { message = "^doc", group = "Documentation"},
    { message = "^perf", group = "Performance"},
    { message = "^app", group = "Shiny App"},
    { message = "^api", group = "API"},
    { message = "^data", group = "Data"},
    { message = "^db", group = "Database"},
    { message = "^refactor", group = "Refactor"},
    { message = "^style", group = "Styling"},
    { message = "^test", group = "Testing"},
    { message = "^chore\\(release\\): prepare for", skip = true},
    { message = "^chore", group = "Miscellaneous Tasks"},
    { body = ".*security", group = "Security"},
]
filter_commits = false
tag_pattern = "v[0-9]*"
skip_tags = "v0.1.0-beta.1"
ignore_tags = ""
topo_order = false
sort_commits = "oldest"
# Initialise local repo
git init         

# Stage files to index
git add <file>

# Check status of working tree
git status       

# Commit changes in index
git commit

# Push to remote repository
git push

# Pull latest from remote repository
git pull

# Clone repository into a new directory
git clone

###########
# Configure
###########

# Setup
git config --global user.name '<name>'
git config --global user.email '<email>'
git config --global init.defaultBranch main

# Protocol
git config --global default.protocol ssh

# Long path support
git config --global core.longpaths true

# GPG signatures
git config --global gpg.program '<path to gpg>'
git config --global user.signingKey '<GPG signature>'
git config --global commit.gpgSign true
git config --global tab.forceSignAnnotated true

# Globals
git config --global core.excludesFile = '<path to global .gitignore>'
git config --global core.attributesFile = '<path to global .gitattributes'

# Color
git config --global color.ui true

#################
# Staging Process
#################

# Stage file
git add <file name>   

# Un-Stage File
git rm <file name>

# Add all *.py files
git add *.py

# Add Everything that has changed
git add .
# or
git add *

#################
# Commit Process
#################

# Commit staging area to your local repository
git commit -m "<commit message>"


#############
# Branching
#############

git branch <branch_name>    # Create branch
git checkout <branch_name>  # move to branch
git add <filename>          # add file change to branches
git commit -m "comments"    # commit file and add comments
git checkout <master>       # move to main branch
git merge <branch name>     # merge branch into current branch location
git push                    # push branch to hub
git branch -d <branch>      # delete branch
 
####################
# Remote Repository
####################

# list all remote repositories
git remote

# add origin (HTTPS)
git remote add origin 'https://github.com/<user>/<repo>.git

# add origin (SSH)
git remote add origin 'git@github.com:<user>/<repo>.git'

# initialize origin in first push
git push -u origin main # or master
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch .env" HEAD
 
git push --force
git log --all --graph --decorate
git reset --hard
git pull
for repo in $(curl -s --header "PRIVATE-TOKEN: your_private_token" "https://<your-host>/api/v4/groups/<group_id>" | jq ".projects[].ssh_url_to_repo" | tr -d '"'); do git clone $repo; done;
#!/usr/bin/env sh

__git_ps1() {
    git rev-parse --abbrev-ref HEAD 2>/dev/null | tr -d '\n'
}
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch .env" HEAD

git push --force
git config \
  --global alias.clrdiff \
  "difftool --extcmd 'icdiff --highlight --line-numbers --numlines=3 --tabsize=2 --cols=135'"
git checkout <old_name>
git branch -m <new_name>
git push origin -u <new_name>
git push origin --delete <old_name>
To untrack a single file that has already been added/initialized to your repository, i.e., stop tracking the file but not delete it from your system use: git rm --cached filename

To untrack every file that is now in your .gitignore:

First commit any outstanding code changes, and then, run this command:

$ git rm -r --cached .

This removes any changed files from the index(staging area), then just run:

$ git add .

Commit it:

$ git commit -m ".gitignore is now working"

*Note :- Be sure to merge your branches back to master or move your pointer otherwise you might lose your branch 
git log --all --graph --decorate
$ npx @wordpress/create-block [options] [slug]
$ git reset --hard HEAD~1

HEAD is now at 90f8bb1 Second commit
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all
git push origin <your_branch_name> --force
git branch -d <local-branch> (soft delete)

git branch -D <local-branch> (hard delete)

git push origin --delete <remote-branch-name>
git fetch origin master:tmp
git rebase tmp
git push origin HEAD:master
git branch -D tmp
git clone --branch <branchname> <remote-repo-url>
git for-each-ref --sort=committerdate --format='%(committerdate) %09 %(authorname) %09 %(refname)'
alias co_today="git hist | grep 'Alex' | grep $(date +"%Y-%m-%d") | grep -v "Merge" | sed -e 's/\[[^][]*\]//g' | sed -e 's/\((^())*\)//g' | sed 's@.*|@@'"
usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]

These are common Git commands used in various situations:

start a working area (see also: git help tutorial)
   clone             Clone a repository into a new directory
   init              Create an empty Git repository or reinitialize an existing one

work on the current change (see also: git help everyday)
   add               Add file contents to the index
   mv                Move or rename a file, a directory, or a symlink
   restore           Restore working tree files
   rm                Remove files from the working tree and from the index
   sparse-checkout   Initialize and modify the sparse-checkout

examine the history and state (see also: git help revisions)
   bisect            Use binary search to find the commit that introduced a bug
   diff              Show changes between commits, commit and working tree, etc
   grep              Print lines matching a pattern
   log               Show commit logs
   show              Show various types of objects
   status            Show the working tree status

grow, mark and tweak your common history
   branch            List, create, or delete branches
   commit            Record changes to the repository
   merge             Join two or more development histories together
   rebase            Reapply commits on top of another base tip
   reset             Reset current HEAD to the specified state
   switch            Switch branches
   tag               Create, list, delete or verify a tag object signed with GPG

collaborate (see also: git help workflows)
   fetch             Download objects and refs from another repository
   pull              Fetch from and integrate with another repository or a local branch
   push              Update remote refs along with associated objects
- git init         #Initialise locat repositiry
- git add <file>   #Add files to index
- git status       #Check status of working tree
- git commit       #Commit changes in index
- git push         #Push to remote repository
- git pull         #Pull latest from remote repository
- git clone        #Clone repository into a new directory
##-----------------------------------------------------------------------------
1. Configure
- git config --global user.name 'Ian Horne'
- git config --global user.email 'ian@ihorne.com'
##-----------------------------------------------------------------------------
2. File to staging
- git add <file name> #Add file 
- git rm <file name>  #Remove file
- git add *.py        #Add all .py files to staging area
- git add .           #Add all files in directory to staging area
##-----------------------------------------------------------------------------
3. Commit staging area to your local repository
- git commit -m "your comments"
##-----------------------------------------------------------------------------
4. Ignore file
- create .git ignore file <touch .gitignore> 
- enter file or folder into .gitignore file to exclude it from the repository 
   -Add file           - <file.ext>
   -Add directory      - </dirname> 
   -Add all text files - <*.txt>
##-----------------------------------------------------------------------------
5. Branches - https://www.atlassian.com/git/tutorials/using-branches
- git branch <branch_name>    #Create branch
- git checkout <branch_name>  #move to branch
- git add <filename>          #add file change to branches
- git commit -m "comments"    #commit file and add comments
- git checkout <master>       #move to main branch
- git merge <branch name>     #merge branch into current branch location
- git push                    #push branch to hub
- git branch -d <branch>      #delete branch

##-----------------------------------------------------------------------------
6. Remove repositories
- Create new repository
- git remote                #list all remote repositories
- git remote add origin https://github.com/Ianhorne73/WageReport.git
- git push -u origin master
##-----------------------------------------------------------------------------
Future workflow
- change file
- git add .
- git push
##-----------------------------------------------------------------------------
Clone repository 
- git clone <get link from GIT hub>  #Clone repository from GIT Hub
- git pull                           #Get latest updates
- create a new repository on the command line
    git init
    git add README.md
    git commit -m "first commit"
    git branch -M main
    git remote add origin <HTTPS>
    git push -u origin main

- push an existing repository from the command line
    git remote add origin https://github.com/ramdaniAli/backupApp.git
    git branch -M main
    git push -u origin main
$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
star

Fri Mar 15 2024 13:52:13 GMT+0000 (Coordinated Universal Time)

#git
star

Thu Jan 25 2024 18:19:15 GMT+0000 (Coordinated Universal Time)

#ssh #git #github #gitlab
star

Tue Jan 23 2024 13:42:53 GMT+0000 (Coordinated Universal Time)

#commandline #git #pdf
star

Tue Jan 16 2024 10:31:15 GMT+0000 (Coordinated Universal Time) https://pypi.org/project/fpdf2/

#commandline #git #pdf
star

Tue Oct 17 2023 06:10:38 GMT+0000 (Coordinated Universal Time) https://superuser.com/questions/1419625/gitlab-you-cannot-push-commits-for-you-can-only-push-commits-that-were-commit

#commandline #git
star

Mon Aug 07 2023 18:48:15 GMT+0000 (Coordinated Universal Time)

#git
star

Wed Jun 07 2023 09:28:55 GMT+0000 (Coordinated Universal Time)

#git #rebase #commandline
star

Wed Jun 07 2023 09:26:29 GMT+0000 (Coordinated Universal Time)

#git #merge #rebase #commandline
star

Fri May 12 2023 07:16:54 GMT+0000 (Coordinated Universal Time) https://www.freecodecamp.org/news/a-beginners-guide-to-git-how-to-create-your-first-github-project-c3ff53f56861/

#git #bash
star

Tue Apr 04 2023 04:16:03 GMT+0000 (Coordinated Universal Time) https://devconnected.com/how-to-push-git-branch-to-remote/

#bash #shell #git
star

Mon Mar 06 2023 13:25:41 GMT+0000 (Coordinated Universal Time)

#tf #git
star

Tue Feb 07 2023 12:42:40 GMT+0000 (Coordinated Universal Time)

#git #gitignore
star

Sun Jan 29 2023 00:19:11 GMT+0000 (Coordinated Universal Time) https://www.freecodecamp.org/news/git-reverting-to-previous-commit-how-to-revert-to-last-commit/

#bash #git #reset #hard #github
star

Tue Dec 13 2022 19:48:40 GMT+0000 (Coordinated Universal Time) https://devconnected.com/how-to-push-git-branch-to-remote/

#shell #git #bash
star

Tue Dec 13 2022 06:24:01 GMT+0000 (Coordinated Universal Time) https://www.freecodecamp.org/news/git-delete-branch-how-to-remove-a-local-or-remote-branch/

#shell #bash #git
star

Mon Nov 14 2022 08:00:07 GMT+0000 (Coordinated Universal Time) https://www.youtube.com/watch?v=JDvROKlRiU0

#git #upstream
star

Tue Oct 25 2022 04:27:01 GMT+0000 (Coordinated Universal Time) https://www.educative.io/module/page/LgoqGKFl7YxO2wNDm/10370001/4636226247720960/5201149705060352

#git #rebase #i #interactive #initialcommit
star

Mon Oct 24 2022 15:02:15 GMT+0000 (Coordinated Universal Time) https://www.educative.io/module/page/LgoqGKFl7YxO2wNDm/10370001/4636226247720960/5201149705060352

#git #log #educative
star

Mon Oct 24 2022 14:59:49 GMT+0000 (Coordinated Universal Time) https://www.educative.io/module/page/LgoqGKFl7YxO2wNDm/10370001/4636226247720960/5201149705060352

#git #log #decorate #wholeproject
star

Mon Oct 24 2022 06:06:24 GMT+0000 (Coordinated Universal Time) https://www.educative.io/

#git #branch
star

Sun Oct 23 2022 02:18:23 GMT+0000 (Coordinated Universal Time) https://www.educative.io/

#git #remote #add
star

Fri Oct 21 2022 23:47:34 GMT+0000 (Coordinated Universal Time) https://www.educative.io/module/page/LgoqGKFl7YxO2wNDm/10370001/4636226247720960/6286721915813888

#cherry #pick #git
star

Fri Oct 21 2022 23:44:59 GMT+0000 (Coordinated Universal Time) https://www.educative.io/module/page/LgoqGKFl7YxO2wNDm/10370001/4636226247720960/6286721915813888

#git #log
star

Fri Oct 21 2022 05:24:35 GMT+0000 (Coordinated Universal Time) https://www.educative.io/module/page/LgoqGKFl7YxO2wNDm/10370001/4636226247720960/5293242192494592

#git #show #stash
star

Fri Oct 21 2022 05:23:50 GMT+0000 (Coordinated Universal Time) https://www.educative.io/module/page/LgoqGKFl7YxO2wNDm/10370001/4636226247720960/5293242192494592

#git #stash #patch
star

Sat Sep 17 2022 23:14:03 GMT+0000 (Coordinated Universal Time) https://www.digitalocean.com/community/tutorials/how-to-push-an-existing-project-to-github

#bash #git
star

Fri Sep 02 2022 16:15:59 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/50675829/remove-node-modules-from-git-in-vscode

#git
star

Sun Aug 28 2022 09:09:34 GMT+0000 (Coordinated Universal Time)

#git
star

Tue Jul 19 2022 08:31:18 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/30590083/how-do-i-rename-both-a-git-local-and-remote-branch-name

#git
star

Tue Jun 14 2022 09:22:53 GMT+0000 (Coordinated Universal Time)

#git #branch
star

Mon Apr 04 2022 11:21:06 GMT+0000 (Coordinated Universal Time) https://www.digitalocean.com/community/tutorials/how-to-use-git-effectively

#git
star

Wed Mar 16 2022 13:15:11 GMT+0000 (Coordinated Universal Time)

#git
star

Tue Mar 15 2022 22:57:58 GMT+0000 (Coordinated Universal Time)

#git
star

Tue Mar 08 2022 11:36:41 GMT+0000 (Coordinated Universal Time) https://learntutorials.net/es/git/topic/337/alias

#git #alias
star

Fri Mar 04 2022 06:04:51 GMT+0000 (Coordinated Universal Time)

#git
star

Sun Feb 27 2022 04:50:49 GMT+0000 (Coordinated Universal Time) https://www.lazy-electron.com/2021/07/29/git-aliases.html

#git #tool
star

Mon Feb 14 2022 13:26:23 GMT+0000 (Coordinated Universal Time)

#bash #git
star

Fri Feb 11 2022 23:22:04 GMT+0000 (Coordinated Universal Time)

#url #zsh #ohmyzsh #terminal #ubuntu #git #shell #bash
star

Wed Feb 02 2022 22:09:23 GMT+0000 (Coordinated Universal Time) https://github.com/jimbrig/dotfiles-wsl/blob/main/scripts/dev/scripts/install-gitkraken.sh

#installation #linux #bash #wsl #git
star

Wed Feb 02 2022 22:01:27 GMT+0000 (Coordinated Universal Time)

#git #docs #markdown
star

Wed Feb 02 2022 21:56:04 GMT+0000 (Coordinated Universal Time)

#git
star

Wed Feb 02 2022 21:43:42 GMT+0000 (Coordinated Universal Time) https://h.daily-dev-tips.com/removing-a-env-file-from-git-history

#git
star

Wed Feb 02 2022 21:42:51 GMT+0000 (Coordinated Universal Time)

#git
star

Wed Feb 02 2022 21:41:34 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/4157189/how-to-git-pull-while-ignoring-local-changes

#git
star

Sat Jan 29 2022 18:10:32 GMT+0000 (Coordinated Universal Time) https://opensource.com/article/21/4/git-stash

#git
star

Fri Jan 14 2022 07:36:23 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/29099456/how-to-clone-all-projects-of-a-group-at-once-in-gitlab

#sh #git
star

Sat Jan 08 2022 06:27:13 GMT+0000 (Coordinated Universal Time) https://gist.github.com/juliyvchirkov/883a050c34e23f4b4fba6ecaeb050c3b

#sh #git #ps1 #shell
star

Tue Dec 21 2021 14:38:32 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/4157189/how-to-git-pull-while-ignoring-local-changes

#bash #git
star

Thu Dec 16 2021 03:15:20 GMT+0000 (Coordinated Universal Time) https://h.daily-dev-tips.com/removing-a-env-file-from-git-history

#git
star

Thu Dec 02 2021 19:15:03 GMT+0000 (Coordinated Universal Time)

#git
star

Thu Dec 02 2021 19:13:18 GMT+0000 (Coordinated Universal Time)

#git
star

Thu Nov 18 2021 05:05:21 GMT+0000 (Coordinated Universal Time)

#git #github #issue
star

Wed Nov 17 2021 14:07:48 GMT+0000 (Coordinated Universal Time)

#git
star

Mon Oct 25 2021 05:16:11 GMT+0000 (Coordinated Universal Time) https://www.npmjs.com/package/@wordpress/create-block

#wordpress #gutenberg #git #npm
star

Thu Oct 21 2021 05:12:26 GMT+0000 (Coordinated Universal Time) https://devconnected.com/how-to-undo-last-git-commit/

#java #git
star

Tue Sep 21 2021 10:42:30 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/10312521/how-to-fetch-all-git-branches#10312587

#setting #git
star

Thu Sep 09 2021 07:28:12 GMT+0000 (Coordinated Universal Time)

#git #github
star

Mon Aug 09 2021 08:17:54 GMT+0000 (Coordinated Universal Time)

#git #github #gitflow
star

Sun Aug 01 2021 13:53:18 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/28429819/rejected-master-master-fetch-first

#git
star

Wed Jul 28 2021 04:56:58 GMT+0000 (Coordinated Universal Time) https://www.freecodecamp.org/news/git-clone-branch-how-to-clone-a-specific-branch/

#git #clone #branch
star

Sat Jul 24 2021 03:10:17 GMT+0000 (Coordinated Universal Time) https://www.freecodecamp.org/news/git-clone-branch-how-to-clone-a-specific-branch/

#git #clone
star

Fri Jul 16 2021 19:43:21 GMT+0000 (Coordinated Universal Time)

#git #github
star

Mon May 10 2021 11:54:02 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/53051630/git-list-remote-branches-with-their-author-names

#git
star

Thu Apr 01 2021 14:38:08 GMT+0000 (Coordinated Universal Time)

#git
star

Fri Feb 12 2021 19:02:19 GMT+0000 (Coordinated Universal Time)

#zsh #shell #git
star

Mon Oct 26 2020 07:36:25 GMT+0000 (Coordinated Universal Time)

#git #help
star

Mon Oct 26 2020 04:28:26 GMT+0000 (Coordinated Universal Time) https://www.youtube.com/watch?v=SWYqp7iY_Tc

#git
star

Mon Oct 05 2020 13:23:12 GMT+0000 (Coordinated Universal Time)

#git
star

Sun Jan 12 2020 17:26:19 GMT+0000 (Coordinated Universal Time)

#commandline #git
star

Wed Dec 25 2019 18:55:34 GMT+0000 (Coordinated Universal Time) https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository

#commandline #git #github #howto

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension