Git - View and remove files made after last commit
2021-06-17
To delete newly made files in the directory “dir”: Enter the directory: cd dir List the newly created files in the directory: git clean -nd Delete the listed files: git clean -fd
Git - Multiple accounts on one machine
2021-04-26
Pre Notation $ - terminal prompt [ ] - citation Examples Git accounts Git repository manager In this document we use GitLab. Alternatives include GitLab and BitBucket. SSH key type RSA is used in this document. Check with your Git repository manager for the types of key they accept/ recommend (E.g the recommended SSH key typ es for GitLab are discussed here: https://docs.gitlab.com/ee/ssh/). Alternatives key types include ED25519 and EDCSA.…
Unix - Find a file
2021-04-22
To search for a file named filename in the directory path/to/search/ use the command: $ find /path/to/search -name "filename" So to search for the file hello.md in the directory ~/Desktop/ we would use: $ find ~/Desktop/ -name "hello.md" We can also search for file patterns. For example, if we knew the file was named hello, but didn’t know the extension type, we could use the command $ find ~/Desktop/ -name "hello.…
About
Contact info Email address: website.chatteration@8shield.net If you have any feedback about this website, such as errors or suggestions, or just want to get in touch with me, send me an email at the address above. Projects Website See the source code for this website. notepac I am also the developer of the software notepac, a command line tool which allows users to easily make notes about applications on their system.
Archives