Important
If you don't know what "moulinette" is then this repo won't be of much use to you.
An alias is a shortcut that allows you to make several specific requests in one, which makes your life easier.
To create your aliases:
- Open your configuration file (typically
bashrc
orzshrc
), with VIM for example:
nano ~/.bashrc
- Copy and paste the contents of the .bash file at the end of your configuration file
- Save the contents (
Escape
then the:x
command on VIM) - Launch a new terminal. You may need to reload the configuration.
source ~/.bashrc
Warning
There may be issues depending on your operating system (e.g. between zsh and bashrc). Checks are made to see if there are differences, and in this case we will add files according to the versions.
$ create link-from-repo-to-clone
- Clone your repositorie
- Navigating to the corresponding folder
- Create
README
file with content - Create
.gitignore
file with the provided .gitignore template - Git status
bin/
obj/
.idea/
*~
*.DotSettings.user
*.txt
*.json
Note
Do not hesitate to check that the contents of the .gitignore have not changed. This gitignore is the one provided in the C# language TPs.
- Check if we are in a git repository
- Git add -A
- Git commit "push-" followed by the push number (0001 if first push, 0002 if second push, etc.)
- Push
- Check if we are in a git repository
- Git add -A
- Git commit "archi-" followed by the archi number (1 if first archi, 2 if second archi, etc.)
- Git tag -ma "archi-" followed by the archi number
- Push with the tag for the moulinette
- Check if we are in a git repository
- Check if the last commit is an "archi-" commit
- Git add -A
- Git commit "submit-" followed by the submit number (1 if first submit, 2 if second submit, etc.)
- Git tag -ma "submit-" followed by the submit number
- Push with the tag for the moulinette
Caution
The code checks if an archi tag has been made before, however, ALWAYS check!!! that you have not made any changes since (even if the command is supposed to protect you from that) and ALWAYS check that your archi tag has passed
- Continue which does a git pull and opens rider (if is possible)
- Extraction & Execution of an .AppImage app
Tip
Everything has been tested, however, unexpected behaviors in particular situations may have escaped us. If you find a bug or have ideas, open an Issue/PR
https://www.ginkonote.com/fr/utilisateurs/flo/articles/alias-indispensables-pour-linux@debian-server
Documentation : https://doc.ubuntu-fr.org/alias https://tutos-gameserver.fr/2019/05/04/30-alias-de-shell-bash-pratiques-pour-linux-unix-mac-os-x-serveur-dimpression/