-
Notifications
You must be signed in to change notification settings - Fork 95
Prerequisite
Charles Chiu edited this page Jan 8, 2023
·
5 revisions
- GitHub account.
- Git, for computer users.
- Working Copy, for iOS/iPadOS users, partpartially free.
-
a-Shell, for iOS/iPadOS users, free.
⚠️ Disclaimer: You need to work in terminal, you might broke your device if you don't know what's your doing, take your own risk.
-
Termux, for Android users.
⚠️ Disclaimer: You need to work in terminal, you might broke your device if you don't know what's your doing, take your own risk.
What is Git?
Git is a free and open source distributed version control system created by Linus Torvalds in 2005.What is GitHub?
GitHub is a for-profit company that offers a cloud-based Git repository hosting service. Essentially, it makes it a lot easier for individuals and teams to use Git for version control and collaboration.How does Git works?
- Recommend repositories remain small, ideally less than 1 GB, and less than 5 GB is strongly recommended.
- GitHub blocks pushes that exceed 100 MB, and you will receive a warning form Git when you attempt to add or update a file larger than 50 MB.
- Use Git Large File Storage (Git LFS), if you really need to track those big files with Git.
- Open multiple instances of Logseq at a time, e.g. open Logseq on your computer and on your phone at the same time. This will cause conflict in your repo.
- Put large files in
assets
folder, like images, videos, etc.
-
cd
: stands forchange directories
, ie,cd downloads/
to go into yourdownloads
folder in terminal. -
ls -a
: stands forlist all
. This command will show everything in your current directory. -
rm -r
: stands forremove recursively
. This command will remove folders and files, ie,rm -r downloads
. -
pwd
: stands forprint working directory
, ie,pwd
->/home/USER/downloads
. -
mv
: stands formove
, ie,mv test1.md downloads/
will movetest1.md
todownloads
folder. -
cat
: stand forconcatenate
. This command will print the content of a file in terminal, ie,cat test1.md
.