Giter Club home page Giter Club logo

bash-git's People

Contributors

aculich avatar akesari12 avatar pattyf avatar pssachdeva avatar tomvannuenen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bash-git's Issues

Curriculum Review: Add resources for more advanced commands

The other thing that might be useful here is for them to actually practice uploading a file to the directory
Aaron spoke at one point about having a terminal / command line “ninja” workshop → this could be a place to prepare / incorporate some of that more advanced programming in the command line or at least point students to resources and hand them a “cheat sheet” of commands

03_git (2/10/22)

  • Need to double check and confirm instructions work for DataHub (some participants had issues with access errors when trying to push to remote)
  • Some users did not have their global configs set up. We should include instructions or a link to do that like this
  • Add some information about pull requests vs just merging code
  • Add an example of resolving a merge conflict

Rename workshop

We should maybe rename this workshop to "Shell and Git" or better, "Command line and git", as Bash is being replaced by zsh.

Provide a real world example

Ask students to write a shell script that does something useful for them. For instance, they can write a shell script that creates a directory called /pdfs under /Download directory, then find PDF files in /Download and, copy those files to Download/pdfs. This shell script creates a backup.

#!/bin/sh

mkdir /home/jae/Downloads/pdfs 

cd Download

cp *.pdf pdfs/ 

echo "Copied pdfs"

02_bash_challenge (2/10/22)

Need to add a step between steps 7 & 8 to cd back out of the challenge folder before removing it (e.g., cd ..)

03_git_challenge (2/10/22)

  • Make it explicit to add README when creating the repo
  • Lots of authentication/access issues, may be useful to streamline this/make some more explicit instructions around setting up remote, adding git config, etc.

02_bash (2/10/22)

  • Include some examples that show you can perform commands (e.g,. mv, cp, ls) from a higher level directories by adding in the relative path (e.g., ls solutions/)
  • 'less' command is not available on DataHub, so some questions were asked about why it wasnt working. Might want to add a disclaimer or change this to something else
  • We may also want to include echo commands as a form of writing to file

VIM Editor Needs Updating

This does not seem to be something that is native to Windows unless pre-installed on some OS versions. I think it only works in Powershell. But this is something that should be clarified for Windows users and downloaded if it's part of the workshop in the materials for 02_bash.md.

Remove or move path customization part of lesson 1

IMHO, this first section starts the workshop on a confusing foot since it doesn't work in all environments/shells and I recommend removing or moving it.

First things first! Your prompt (where you will enter Bash commands) can be confusing. To change it to the file path of your working directory followed by a dollar sign, type or copy/paste the below code:

Type or copy/paste PS1="\w\$ " into your prompt and press Enter.

Then, type exec bash into your prompt and press Enter.

Now, you will have a record of your location as you move around your computer!

NOTE: to display only the current working directoy - not the path - use a capital letter W in step 1 above instead :)

Need a balance between Windows OS and Mac OS examples

Emma and I discussed that it seems like lots of the workshop materials are centered around Mac OS. Thus, the Mac-specific lingo is uninterpretable by Windows users, leading to some confusion and interrupting the flow of the workshop. Thus, we need to be more intentional about having a balance between both users.

Break activities

During break, make sure participants have / (or help them make) GitHub account

Workshop on 2/10/22

01_getting_started:

  • Include instructions on which settings to check when setting up Git token
  • We may want to stress in the workshop description on the website to the participants to do their best to go through the steps on 01_getting_started.md. This would reduce the amount of friction for getting participants set up with Git.

02_bash:

  • Include some examples that show you can perform commands (e.g,. mv, cp, ls) from a higher level directories by adding in the relative path (e.g., ls solutions/)
  • 'less' command is not available on DataHub, so some questions were asked about why it wasnt working. Might want to add a disclaimer or change this to something else
  • We may also want to include echo commands as a form of writing to file

02_bash_challenge:

  • Need to add a step between steps 7 & 8 to cd back out of the challenge folder before removing it (e.g., cd ..)

03_git:

  • Need to double check and confirm instructions work for DataHub (some participants had issues with access errors when trying to push to remote)
  • Some users did not have their global configs set up. We should include instructions or a link to do that like this
  • Add some information about pull requests vs just merging code
  • Add an example of resolving a merge conflict

03_git_challenge:

  • Make it explicit to add README when creating the repo
  • Lots of authentication/access issues, may be useful to streamline this/make some more explicit instructions around setting up remote, adding git config, etc.

03_git

need this command to git push for some reason
git push -u -f origin master

References to wordpad

There is a typo in the bash challenges that refers to "wordpac" instead of "wordpad." The instructions may also be dated because it refers to a "format" button that doesn't seem to exist in newer versions of wordpad.

Separate Container Links for python & R

There are two small scripts in this workshop, one for python and another for R. If we plan to use DataHub or Binder link functionality with this workshop, we may need to create separate links, one for each platform.

Suggestion to include "git add" for delete operations

It will be great to include something on the command "add" because in git it does not have the exact same meaning as the English word, it actually means adding an operation. Like if we remove a file locally, and want to remove it from the "staging area" and remote repo, we still do "git add file"

Curriculum Review: Make Interactive Powerpoint Slides

This workshop is particularly difficult to teach because it’s not interactive at all
Add powerpoint slides for the workflow of using git and walk people through that
Building on some of the materials already there but making them more visually appealing and intuitive

03_git.md

  • Under Collaborative Workflow, we might want to add an explicit point about checking existing branches using git branch?
  • Figure under Collaborative Workflow makes it seem as if branches need to sync up with main through time
  • We also might want to add a point at the end on removing local git repos (just deleting the folder) or github repo (settings, danger area)

add git clone (and checkout) to diagram

This diagram could better explain the process starting from the initial git clone (and implicit checkout of the main branch):

git diagram

I received confused questions about why the git checkout was part of this diagram in regards to committing and pushing to github, in particular because the diagram does not match the explanatory context around it, as the following steps 1-8 don't mention it at all, and then when branching is mentioned in collaboration the diagram isn't referenced again.

Here's a crude update that we can think about how to refactor:

image

Comments from Bash+Git workshop on Sep 13, 2023

  • Instruction materials need to be reordered to: bash - git hub token + account - git
    Introduction was excellent!
  • Asking affiliations in the beginning and experience level with command line and git were good opening.
  • I think guiding through the "Reactions" on Zoom set the expectation and it was very helpful.
  • Getting volunteers for Windows actually worked really well.
  • However, we do need written instructions for Windows users so that they feel included and be able to follow the workshop. For example, using Git Bash on Windows (instead of command prompt) is not very obvious from the written instruction.
  • Pacing is very good. We finished Bash section around 2:30
  • Emphasizing when Bash would be useful - why not just use folder system on the mac?
  • Executing a script from the command line might be useful (something really simple like print "helloworld")
  • Explanation of jargons on navigating directories using command line Going in/out, up/down was very helpful.
  • I think you can give more time when you pose a question to the group
  • We should also have bash cheatsheet added to this repository or include it in the git_cheatsheet
  • Pacing for Git was very good, but there are a lot of jargons (inherent to git system)
  • Write up really does not capture what Aaron did for the workshop and I wonder if that affects the workshop in the future.
  • There is a general interest in advanced git workshop

Updates for windows users

It would be good to have notes for instructions for windows users.

There were some trouble shooting with windows users and asking windows user to share screen and troubleshoot worked well for the workshop

For Bash for windows users / linux users, following instructions on Mac would not work.

Another example, to make font size larger for the Git Bash: Windows: Right click on top bars > settings? > Font > change font size.

Workshop feedback 5/31/2023

@aculich presented this workshop from 10am-1pm. Here are some feedback I have on the presentation:

Presentation style

  • the presentation pace was great
  • general immediate answering participants questions were great
  • some jargons but generally explained for people to be more comfortable
  • a participant discussed that maybe connecting to other languages from other workshops would be helpful (i.e., Python)
  • perhaps using languages like thinking about this like a "folder" system would be helpful; I also have heard of relative paths as "parent" and "child"

Presentation material

  • gentle onboarding for why use git/ getting a git account
  • the flow of the presentation could include more polls to bring people in on what's their stages
  • the flow of the presentation could be restructured to have concrete examples (and participants can do without hand-holding in the future)
  • perhaps breaking the workshop to more focused -- either individual or collaborative (@AnushaPB discussed this +1)
  • personal token wasn't explicitly needed
  • adding in how to use stack overflow is helpful (which aaron did on the spot)
  • adding in how to look at history or how version control works explicitly in action would be helpful
  • one example could be: creating the file -> put it on git -> writing over the same file accidentally -> how to retrieve it back!?

Develop a follow-up "advanced version" module for this workshop

We've received several requests for a "advanced version" of the Bash + Git workshop would be helpful as a next step after the introductory material.

If you have specific ideas or requests of what you'd like to see included, please feel free to add to the discussion here.

01_getting_started (2/10/22)

  • Include instructions on which settings to check when setting up Git token
  • We may want to stress in the workshop description on the website to the participants to do their best to go through the steps on 01_getting_started.md. This would reduce the amount of friction for getting participants set up with Git.

Dataset?

I'm part of team 3's effort to overhaul the datasets for the workshops, and from the Readme and the current content I'm not sure if one is needed here. Will this workshop require a dataset, and if so, what sort of data would be most useful? Thanks!

add creation of participant repo

I think it would be cool if participants created their own repository and added/committed/pushed from it to get some hands on experience using the git commands within their own repo. That would also allow them to get familiar with the github website and walk away with a repository they have created and can look at.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.