Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Git comands

# The set of commands that were used in the `Basic Git Commands` video

# Make sure the directory is empty
ls

# Output some text to a `story.txt` file
echo "Once upon a time" >> story.txt

# Ensure that the file exists in the current folder
ls

# Initialize a local git repository
git init

# Show everything present in the current directory, including hidden
# files and folders
ls -a

# Show the status of the repository
git status

 
PREVIOUS NEXT
Tagged: #Git #comands
ADD COMMENT
Topic
Name
7+7 =