To create a new branch and switch to it at the same time, you can run the git checkout command with the -b switch:
git checkout -b issue53
Shorthand for:
$ git branch iss53
$ git checkout iss53
normal commit after changes
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, pkgs, callPackage, ... }: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
<nixos-hardware/lenovo/thinkpad/t495> |
To create a new branch and switch to it at the same time, you can run the git checkout command with the -b switch:
git checkout -b issue53
Shorthand for:
$ git branch iss53
$ git checkout iss53
normal commit after changes
echo "Cloning repo" | |
sudo apt update | |
sudo apt install git | |
# git clone https://github.com/violetbp/zappy.git | |
cd zappy | |
echo "installing" | |
bash serviceInstall.sh |
--- | |
BasedOnStyle: LLVM | |
BreakBeforeBraces: Attach | |
ColumnLimit: '120' | |
Cpp11BracedListStyle: 'true' | |
IndentWidth: '2' | |
Language: Cpp | |
NamespaceIndentation: None | |
ReflowComments: 'true' | |
SortIncludes: 'true' |
sudo apt-get remove docker docker-engine docker.io containerd runc | |
sudo apt-get update | |
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
sudo apt-get update | |
sudo apt-get install docker-ce docker-ce-cli containerd.io | |
#add to docker group | |
sudo groupadd docker |