Skip to content

zahradnik-ondrej/mcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Create a new Minecraft server dotfiles repository:

  1. mkdir $(pwd)/.mcs
  2. git init --bare $(pwd)/.mcs
  3. echo "alias mcs='/usr/bin/git --git-dir=$(pwd)/.mcs/ --work-tree=$(pwd)'" >> $HOME/.bashrc
  4. bash
  5. mcs config --local status.showUntrackedFiles no
  6. create a new repository on GitHub (or any other Git server hosting service) but do NOT include a README.md or any other files such as a license
  7. mcs remote add origin https://github.com/<username>/<repository_name>.git

Clone (download) a Minecraft server dotfiles repository:

  1. echo "alias mcs='/usr/bin/git --git-dir=$(pwd)/.mcs/ --work-tree=$(pwd)'" >> $HOME/.bashrc
  2. echo '.mcs' >> .gitignore
    3a. git clone --bare https://github.com/<username>/<repository_name>.git $(pwd)/.mcs (general Minecraft server dotfiles repository)
    3b. git clone --bare https://github.com/zahradnik-ondrej/mcs.git $(pwd)/.mcs (this Minecraft server dotfiles repository)
  3. bash
  4. mcs checkout -f
  5. mcs config --local status.showUntrackedFiles no
  6. bash

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published