Workshop Details
Dates: Sept. 11th - 21st, 2023
Time: 8:30am - 12:30pm
Workshop Agenda:
https://ucsdlib.github.io/2023-06-26-UCSD/
Kim Thomas (UCSD)
Saulo Soares (UCSD)
Topic/Lesson Link
Version Control with Git
Software Installation and Lesson Data Downloads
Refer to Software/Data Downloads: The Carpentries workshops
Please enter any questions not answered during live session here:
Recap: Commands used today:
git init #initialize repository
git status #current status - use this command after every git command
git add #adds files to be tracked, red color file names need to be added
git commit -m "shot message here" #commits changes for tracked files (green color). -m is required for adding a short message
git log #Shows commit information, commit identifier info
git diff #check the version changes
git checkout #used to select previous version commits - commit history
Remote git/github:
git push #pushes changes TO github from local machine
git pull #pulls changes FROM github to local machine
.gitignore file #text file that tells git which file extensions to ignore from versioning
touch # creates blank raw text file, specifying an extension is necessary.
mkdir # creates empty files
Recommend refering to this workflow cheatsheet, https://github.com/hbons/git-cheat-sheet
OneDrive path:
$ cd ~/OneDrive/Desktop
$ cd C:/Users/Username/OneDrive/Desktop
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing