mirror of
https://github.com/naoufalzerai/zerai.xyz.git
synced 2025-11-09 15:05:55 +00:00
git
This commit is contained in:
parent
445e8c73a7
commit
20026f698c
27
content/post/git-tips.md
Normal file
27
content/post/git-tips.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
+++
|
||||||
|
title = "Git Tips"
|
||||||
|
date = 2022-08-22T12:58:59-04:00
|
||||||
|
lastmod = 2022-08-22T12:58:59-04:00
|
||||||
|
tags = ["git"]
|
||||||
|
categories = ["Coding"]
|
||||||
|
imgs = []
|
||||||
|
cover = "" # image show on top
|
||||||
|
readingTime = true # show reading time after article date
|
||||||
|
toc = true
|
||||||
|
comments = false
|
||||||
|
justify = false # text-align: justify;
|
||||||
|
single = false # display as a single page, hide navigation on bottom, like as about page.
|
||||||
|
license = "" # CC License
|
||||||
|
|
||||||
|
+++
|
||||||
|
|
||||||
|
# Gitignore not working
|
||||||
|
|
||||||
|
git rm -rf --cached .
|
||||||
|
git add .
|
||||||
|
|
||||||
|
<!-- more -->
|
||||||
|
|
||||||
|
# Recover last commit
|
||||||
|
|
||||||
|
git reset HEAD~
|
||||||
Loading…
x
Reference in New Issue
Block a user