× GitFichas is now open-source and undergoing some construction. Thanks for the patience. You can learn more about the changes happening here.
No cards match your search!

Creating an annotated

tag

tag
#069 git tag -a name -m 'text'

creating a

tag

tag
#068 git tag name

listing available

tags

tags
#067 git tag

What is a

tag

tag
#066 What is a tag

Making an empty

commit

without an editor

commit
#065 git commit --allow-empty -m 'text'

What is the

.gitignore

file

.gitignore
#064 What is the .gitignore file

Deleting a tracked

file

from your repository

file
#063 git rm file.txt

What is the

.gitkeep

file

.gitkeep
#062 What is the .gitkeep file

Adjusting the message of the last

commit

without an editor

commit
#061 git commit --amend -m 'text'

What is a

merge request

merge request
#059 What is a merge request

Making a

commit

commit
#058 git commit

Undoing the

commit

most recent

commit
#057 git reset HEAD~

What is an

issue

issue
#056 What is an issue

Checking changes in

staging

staging
#055 git diff --staged

What is a

commit

commit
#054 What is a commit

Textually searching

commit

messages

commit
#053 git log --all --grep='word'

Making an empty

commit

commit
#051 git commit --allow-empty

Merging

two branches

Merging
#049 git merge source target

applying a

stash

without removing it from the pile

stash
#046 git stash apply stash@{2}

Undoing multiple

commits

commits
#036 git reset HEAD~3

Naming the

clone

destination folder

clone
#033 git clone url name

Discarding

changes

changes
#032 git restore name

Adjusting the last

commit

commit
#031 git commit --amend

What is a

conflict

block-beta columns 1 block:notes a["it happens when two or more changes are made to the\n same chunk of a file and git doesn't know\nhow to apply the most recent change"] end block:notes2 b["conflicts are indicated by the markers >>> === <<<"] end %% styling %% classDef transparent fill:#fff, stroke:#fff; class a,b,c,notes,notes2,notes3,info transparent classDef textFont font-family:'Chilanka', font-size:1.2em, font-color:#000, line-height:1.4em; class a,b,c,notes,notes2,notes3,info textFont
#030 What is a conflict

Using

rebase

to fix branch source

rebase
#028 git rebase --onto source previous branch

How to create

branch

tracking on remote

branch
#023 git push --set-upstream remote branch

How to create a

Remote

block-beta columns 1 block:notes space:2 f["command to create\na new remote"] space i["remote path"] end block:command a("git") b("remote") c("add") d("name") e("url") end block:notes2 space g["command to manage\nremotes"] space h["remote name, for\nexample origin"] space end %% arrows %% b --> g c --> f d --> h e --> i classDef textFont font-family:'Chilanka', font-size:1.2em, font-color:#000, line-height:2em; %% styling %% classDef transparent fill:#fff, stroke:#fff; class a,b,c,d,e,f,g,h,i,j,k,l,notes,notes2,command,info transparent classDef commandFont font-family:'Borel', font-size:1.6em, line-height:2.2em; class a,b,c,d,e,k commandFont class f,g,h,i,j,l textFont
#021 git remote add name url

How to list

remotes

remotes
#020 git remote -v

What is a

remote

block-beta columns 1 block:notes a["is a cloud repository\nfor example on Github or GitLab"] end block:notes2 b["every time you clone a repository you have at\nleast one remote - the origin"] end %% styling %% classDef transparent fill:#fff, stroke:#fff; class a,b,c,notes,notes2,notes3,info transparent classDef textFont font-family:'Chilanka', font-size:1.2em, font-color:#000, line-height:1.4em; class a,b,c,notes,notes2,notes3,info textFont
#019 What is a remote

How to

clone

a repository

clone
#018 git clone url

What is a

clone?

clone?
#017 What is a clone?

What is a

fork?

fork?
#016 What is a fork?

What is a

diff?

diff?
#015 What is a diff?

Switching

branches

when creating a new branch

branches
#014 git checkout -b name

What is the

Head

Head
#013 What is the Head

Checking

the changes of each file

Checking
#012 git diff

switching

Branches

Branches
#011 git checkout name

what is a

pull request

block-beta columns 1 block:notes a["It is the process of submitting changes for\nreview on GitHub"] end block:notes2 b["On GitLab, this process is called merge\nrequest"] end %% styling %% classDef transparent fill:#fff, stroke:#fff; class a,b,c,notes,notes2,notes3,info transparent classDef textFont font-family:'Chilanka', font-size:1.2em, font-color:#000, line-height:1.4em; class a,b,c,notes,notes2,notes3,info textFont
#010 what is a pull request

creating a new

Branch

Branch
#009 git branch name

interactively

Adding

files to commit

Adding
#008 git add -p

Checking the commits

history

block-beta columns 1 block:notes space:1 f["shows an interactive list of commits with\nthe hash and message of each commit"] end block:command a("git") b("log") end %% arrows %% b --> f classDef textFont font-family:'Chilanka', font-size:1.2em, font-color:#000, line-height:2em; %% styling %% classDef transparent fill:#fff, stroke:#fff; class a,b,c,d,e,f,g,h,i,j,k,l,notes,notes2,command,info transparent classDef commandFont font-family:'Borel', font-size:1.6em, line-height:2.2em; class a,b,c,d,e,k commandFont class f,g,h,i,j,l textFont
#007 git log

Checking

the list of altered files

Checking
#006 git status

what is the

staging

area

block-beta columns 1 block:notes a["it's the commit setup area"] end block:notes2 b["where we see the collection of altered or created files \nthat will be part of the next commit"] end %% styling %% classDef transparent fill:#fff, stroke:#fff; class a,b,c,notes,notes2,notes3,info transparent classDef textFont font-family:'Chilanka', font-size:1.2em, font-color:#000, line-height:1.4em; class a,b,c,notes,notes2,notes3,info textFont
#005 what is the staging area

Checking

the details of a commit

Checking
#004 git show 09c6d68

How to make a

Commit

Commit
#003 git commit -m 'changes'

Adding

files to a commit

Adding
#002 git add file.txt

Starting

a project

Starting
#001 git init