Skip to content

SimonSch/latex_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Git & Latex Template

Installation

Windows

Linux

sudo apt-get install git
sudo apt-get install texlive 
sudo apt-get install texlive-lang-<YOUR_LANG> eg. install texlive-lang-german

I have no idea what Im doing... 
sudo apt-get install texlive-full

sudo apt-get install texstudio
Linux Config

Add the following to ~./bashrc to display the current branch

# show git branch name
force_color_prompt=yes
color_prompt=yes
parse_git_branch() {
         git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
 }
 if [ "$color_prompt" = yes ]; then
          PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[0$
  else
           PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(parse_git_branch)\$ '
   fi
unset color_prompt force_color_prompt

Git Services

TL;DR

  • git clone https://your-repository.com
  • add files
  • git status
  • git add "files.bla"
  • git status
  • git commit -m "Your commit message"
  • git config --global user.email "[email protected]"
  • git config --global user.name "Your Name"
  • git push

Git Cheatsheet

git

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published