Skip to content

davidyassa/Programming2-Lab4

Repository files navigation

Github Repository Instructions

1 - Create your branch

  1. Next to main↓, click branches
  2. Click New branch
  3. Choose devel as the source, and name it space- + your name
  4. Create new branch

2 - Access Github from Netbeans

  1. Install Git
  2. Clone Repository
    1. Copy repo link: https://github.com/davidyassa/Programming2-Lab4.git
    2. Head to a folder of your choice and within the folder: "Right click > open in terminal"
    3. In the terminal, type: git clone + repo link
    4. Reopen the terminal window inside the repo folder, then type: git checkout + your branch name
  3. Open Netbeans then go to "File > Open project" and choose the local repo folder

3 - Entering GitHub user&pass in Netbeans

  1. Go to your GitHub profile settings in the top right corner
  2. Scroll down on the left pane to "<> developer settings"
  3. "Personal Access Tokens > Tokens (classic) > Generate new token (classic)"
  4. Confirm Access with password or passkey
  5. Name the key (e.g. Netbeans)
  6. Set expiration date (no expiration if you want this to be one-time)
  7. Select Scopes → repo, which gives you access to all your GitHub repos
  8. Scroll to the end to "Generate new token"
  9. Copy the given key (long code) and paste it in the "password" value in Netbeans

4 - Workflow:

  1. Before working, pull changes from devel (development branch)
    • "Git > Pull > devel"
  2. After you're done coding, add your files to be comitted
    • "Git > Add"
  3. Commit your changes and push them to your branch
    • "Git > Commit" and enter a brief commit message
  4. Push your changes to your branch
    • "Git > Remote > Push" and choose your branch
  5. Create a pull request from your branch to devel
    • Back on Github, open a pull request
    • At the top choose "develyour branch"
    • add a brief comment
  6. Once the merge request is approved, devel will be up to date with your code
  7. When the project reaches its very final stage, it will be merged onto main

About

Inventory Management System

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages