-
Notifications
You must be signed in to change notification settings - Fork 2
Documentation #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
varamezova
wants to merge
3
commits into
Garllon:main
Choose a base branch
from
varamezova:documentation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Documentation #34
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| ## Documentation - WIP | ||
|
|
||
| * [Terminal Commands](#terminal-commands) | ||
| * [Git Commands](#git-commands) | ||
| * [Glossary](#glossary) | ||
|
|
||
| ### Terminal Commands | ||
| - `mkdir DirectoryName` - creates a new directory | ||
| - `cd DirectoryName` - goes to the wished directory | ||
| - `touch Demo.rb` - creates an empty file | ||
| - `echo "Some text" >> Filename.extension` - creates a file with some text in it | ||
| - `cat Filename` - shows what’s inside the file | ||
| - `open Filename` - opens the file from Terminal with the corresponding program/editor to edit the contents as you normally would | ||
| - `ls` - lists everything in the current folder except 'dotfiles'/hidden files (e. g. .gitignore) | ||
| - `ls -a` - lists verything (including the hidden files) | ||
| - `cd ..` - moves up to the parent directory | ||
|
|
||
|
|
||
| ### Git Commands | ||
| chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://www.badfv.de/files/Dokumente/tower_cheatsheet_dark_DE.pdf | ||
| - `git init` - creates a new local repo | ||
| - `git status` | ||
| - `git add <Filename.extension>` - adds a single file | ||
| - `git add .` - adds all files in the directory | ||
| - `git commit` - you can enter your message on an additional screen | ||
| - `git commit -m "some message"` - you can enter your message directly | ||
| - `git branch` - which branches I have in the repo | ||
| - `git checkout -b <branch_name>` - creates a new local branch and goes to it | ||
| - `git branch <branch_name>` - creates a new local branch | ||
| - `git branch -d <branch_name>` - deletes a local branch | ||
| - `git checkout <branch_name>` - goes to the wished branch | ||
| - `git branch -M <new branch name>` - renames your head branch ("head" = my current position) | ||
| - `git remote add origin <URL of your Git repo on GitHub.com>` - connects your GutHub repo with your computer | ||
| - `git pull` | ||
| - `git push` | ||
| - `git push <remote> <local branch>` | ||
| - `git remote -v` - lists all remote repos | ||
| - `git reset` | ||
| - `git reset --hard HEAD` - discards all local changes in the working copy | ||
| - `git log` - shows all local commits | ||
|
|
||
|
|
||
|
|
||
| ### Glossary | ||
| * Commit | ||
| * Branches | ||
| * Forks | ||
| * etc. | ||
|
|
||
|
|
||
| to be continued... | ||
| https://docs.google.com/document/d/1aSrEIcgZAemE_6Y6-_l2hheXvgzF3bCvQAbW_dlpifM/edit | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For
ls -laandcd ..maybe it is better to create a sub header and describe it.cd ..is the same ascd DirectoryName.Sorry for the super late answer.