CodeDoesGood / org-website

CodeDoesGood Organization website source code
http://codedoesgood.org
1 stars 0 forks source link

Update Board of Directors #32

Open stephen-slm opened 6 years ago

stephen-slm commented 6 years ago

The board of directors needs to be updated on the team.html page under the legacy code base.

Seek all information you need about each board of director as you go along.

You will need:

Some of these might not be accessible and would have to be left out. List of current board of directors will be sent to you directly via slack

stephen-slm commented 6 years ago

@apandey09 Hows it going?

apandey09 commented 6 years ago

@tehstun Going well, I suppose. Hope your week's been fine as well. Just following the instructions you posted for me in Slack. In other words, unless you tell me to go ahead push the changes onto here, I still haven't gone past committing all the changes I made last Sunday.

stephen-slm commented 6 years ago

@apandey09 ideally if you are still working on the branch and this task, then you should be committing the changes and pushing. This allows others to see what is happening while also i'm able to spin up the web server as well to have a look.

apandey09 commented 6 years ago

@tehstun Right, I understand that. It's just that, as far as I know, your instructions were not to push any changes I committed onto the develop branch. But I'd be willing to do that if you wanted me to, or would you like for me to create a new branch and push my changes onto that one?

stephen-slm commented 6 years ago

you should still push to your previous branch, you cannot push to develop or master, they are now protected branches and it will reject the push.

apandey09 commented 6 years ago

Alright, but before I do that, there are couple of I'd like to point out. I ran a "git status" on git bash and saw this message. Also, as shown in the image below, there appears to only one branch: the develop branch. The branch I made seems to no longer exist. gitbash2

stephen-slm commented 6 years ago

okay, so you are behind, which means you need to pull.

If you have issues with 1. then let me know, we will have to stash your changes and then come back to them after 3.

apandey09 commented 6 years ago

For the first step, is it just git pull? Or do I also include the name of the branch from which I would like to pull the changes from, which in this case would be "git pull origin develop"?

stephen-slm commented 6 years ago

just git pull on the developer branch, if you are using the command line instead of a client you can do:

  1. git checkout develop
  2. git pull

hope that helps :)

apandey09 commented 6 years ago

Thanks for the info! So after I ran 'git pull', I ran git status to see what new changes were there and this is what I got gitpull

apandey09 commented 6 years ago

After seeing that, I thought this would be a good time to move on to the next steps and create a new branch so I can commit those changes onto there. However, when I tried checking out to the new branch I made, I read this message: gitcheckoutnewbranch

stephen-slm commented 6 years ago

you should think about using a git client like git kraken or something simular

stephen-slm commented 6 years ago

Nothing is working because you have file conflicts, you will need to stash the current files and then git pull , you are still not on the most up to date version

stephen-slm commented 6 years ago

You cannot move on to anything until you resolve the conflicts and get the up to date master branch

apandey09 commented 6 years ago

So I ran git stash and got a message that read "cannot save the current index state". gitstash

stephen-slm commented 6 years ago

you are in a merging state, you need to understand what you are doing.

  1. you need to complete the merge (stated on every line)
  2. You need to know what you are doing: https://medium.freecodecamp.org/useful-tricks-you-might-not-know-about-git-stash-e8a9490f0a1a
  3. Please look into using a git client, it will help you out alot when new to git, (GitKraken, SourceTree, TortoiseGit)
apandey09 commented 6 years ago

Hey! Just wanted to update you on my latest progress. I added the files in question that needed to be merged and am no longer in a merging state. As a result, I am now able to checkout to the branch I made. I have not committed the changes yet, or pulled any for that matter, because I have to stash them first. But before I do that, I just want to make sure if I stash the changes on to the branch I made. Or do I make a different branch and stash them on there, or do I stash them all on GitKraken?

Speaking of which, in case I haven't told you this before, I've had GitKraken for about a few months now. I've been able to open repos on there as well as commit changes onto those repos. I also recently opened the repo for the develop branch of org-website on Gitkraken, but I haven't committed any of the latest changes on to them yet because I need to stash, and then pull, them first.

stephen-slm commented 6 years ago

Hows it going?

It might be a idea to take the files out (which you updated since the last commit) nuke the repro, clone again and copy the files back in.

apandey09 commented 6 years ago

Fine man! Nice to hear from you. Unless I misunderstood you, I unstaged (or should I have pulled?) all the files I staged recently from the org-website repo on GitKraken. Now, by "nuke" the repo, do you mean delete?

stephen-slm commented 6 years ago

Yeah if you would delete the repro and reclone it, you should be at a good base to create a new branch and do the css adjustment from there :)

apandey09 commented 6 years ago

Alright, so I just did what you told me and it all went smoothly. Now before I make my new branch and commit any changes onto there, I just wanna be clear on what you mean by "css adjustment"? Do you mean I have to go back into those files and make all those changes again? Also, is it ok for me to create a new branch and commit any changes onto them via Gitbash, or would you prefer I do all of that on Gitkraken?

stephen-slm commented 6 years ago

yeah sorry, you will have to make those changes again, and you can use what you prefer and feel confortable using git with. But you will have ot use a new branch, changes wont be able to be pushed anymore on dev branch.